package com.example.demo6.dao;

import com.example.demo6.entity.User;

import java.util.List;

/**
 * @Author: Lizhi
 * @Date:Create：in 2023/12/4 23:15
 */
public interface UserDao {
    public int add(User user);
    public int delete(User user);
    public int update(User user);

    public User findOne(User user);
    public List<User> findAll();

    List<User> findAll(User user);
}
